#include "test.h"
#include <iostream>
using namespace std;

int test::sum(int a,int b)
{
//    int i=a;
    int s=0;
    for(int i=a;i<=b;i++)
//    while(i<=b)
    {
        s+=i;
//        i++;
    }
    cout<<"hello word"<<endl;
    cout<<"hello word\n"<<endl;
//    cout<<"hello word"<<sum<<endl;
    return s;
}
